Optimal. Leaf size=136 \[ -\frac{\left (\frac{2 c x^3}{b-\sqrt{b^2-4 a c}}+1\right )^{-p} \left (\frac{2 c x^3}{\sqrt{b^2-4 a c}+b}+1\right )^{-p} \left (a+b x^3+c x^6\right )^p F_1\left (-\frac{1}{3};-p,-p;\frac{2}{3};-\frac{2 c x^3}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^3}{b+\sqrt{b^2-4 a c}}\right )}{x} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.250433, antiderivative size = 136, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111 \[ -\frac{\left (\frac{2 c x^3}{b-\sqrt{b^2-4 a c}}+1\right )^{-p} \left (\frac{2 c x^3}{\sqrt{b^2-4 a c}+b}+1\right )^{-p} \left (a+b x^3+c x^6\right )^p F_1\left (-\frac{1}{3};-p,-p;\frac{2}{3};-\frac{2 c x^3}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^3}{b+\sqrt{b^2-4 a c}}\right )}{x} \]
Antiderivative was successfully verified.
[In] Int[(a + b*x^3 + c*x^6)^p/x^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 30.2027, size = 116, normalized size = 0.85 \[ - \frac{\left (\frac{2 c x^{3}}{b - \sqrt{- 4 a c + b^{2}}} + 1\right )^{- p} \left (\frac{2 c x^{3}}{b + \sqrt{- 4 a c + b^{2}}} + 1\right )^{- p} \left (a + b x^{3} + c x^{6}\right )^{p} \operatorname{appellf_{1}}{\left (- \frac{1}{3},- p,- p,\frac{2}{3},- \frac{2 c x^{3}}{b - \sqrt{- 4 a c + b^{2}}},- \frac{2 c x^{3}}{b + \sqrt{- 4 a c + b^{2}}} \right )}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((c*x**6+b*x**3+a)**p/x**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 3.19541, size = 408, normalized size = 3. \[ \frac{\left (\sqrt{b^2-4 a c}+b\right ) \left (\sqrt{b^2-4 a c}-b-2 c x^3\right ) \left (x^3 \left (\sqrt{b^2-4 a c}-b\right )-2 a\right )^2 \left (a+b x^3+c x^6\right )^{p-1} F_1\left (-\frac{1}{3};-p,-p;\frac{2}{3};-\frac{2 c x^3}{b+\sqrt{b^2-4 a c}},\frac{2 c x^3}{\sqrt{b^2-4 a c}-b}\right )}{x \left (\sqrt{b^2-4 a c}-b\right ) \left (\sqrt{b^2-4 a c}+b+2 c x^3\right ) \left (3 p x^3 \left (\left (\sqrt{b^2-4 a c}-b\right ) F_1\left (\frac{2}{3};1-p,-p;\frac{5}{3};-\frac{2 c x^3}{b+\sqrt{b^2-4 a c}},\frac{2 c x^3}{\sqrt{b^2-4 a c}-b}\right )-\left (\sqrt{b^2-4 a c}+b\right ) F_1\left (\frac{2}{3};-p,1-p;\frac{5}{3};-\frac{2 c x^3}{b+\sqrt{b^2-4 a c}},\frac{2 c x^3}{\sqrt{b^2-4 a c}-b}\right )\right )-4 a F_1\left (-\frac{1}{3};-p,-p;\frac{2}{3};-\frac{2 c x^3}{b+\sqrt{b^2-4 a c}},\frac{2 c x^3}{\sqrt{b^2-4 a c}-b}\right )\right )} \]
Warning: Unable to verify antiderivative.
[In] Integrate[(a + b*x^3 + c*x^6)^p/x^2,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.036, size = 0, normalized size = 0. \[ \int{\frac{ \left ( c{x}^{6}+b{x}^{3}+a \right ) ^{p}}{{x}^{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((c*x^6+b*x^3+a)^p/x^2,x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (c x^{6} + b x^{3} + a\right )}^{p}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^6 + b*x^3 + a)^p/x^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (c x^{6} + b x^{3} + a\right )}^{p}}{x^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^6 + b*x^3 + a)^p/x^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x**6+b*x**3+a)**p/x**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (c x^{6} + b x^{3} + a\right )}^{p}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^6 + b*x^3 + a)^p/x^2,x, algorithm="giac")
[Out]